from django.urls import path
from django.conf.urls import url
from . import views
# Django 2.0 新增的,方便写 url route
# https://docs.djangoproject.com/en/2.0/ref/urls/#django.urls.path

urlpatterns = [
    path('books/',
         views.SearchView.as_view(),
         name='books'
         ),
    path('hotest/',
         views.HotestView.as_view(),
         name='hotest'
         ),
    path('ti/',
         views.TiView.as_view(),
         name='ti'
         ),

    path('chapter/',
         views.BookChapter.as_view(),
         name='chapter'
         ),

]

    
